<template>
  <div class=" w-full h-full fixed bg-slate-500 opacity-60 z-50" v-show="loading">
    <div class=" mt-60 text-center text-white">
      <a-spin size="large" />
      <p class=" text-lg">处理中，请稍后...</p>
    </div>
  </div>
</template>

<script lang='ts' setup>
import main from '@/store/index'
import { storeToRefs } from 'pinia'
let { loading } = storeToRefs(main())
</script>